import 'package:get/get.dart';

import '../../../routes/xin_he_routes.dart';
import 'xin_he_place_order_success_state.dart';

class XinHePlaceOrderSuccessLogic extends GetxController {
  final XinHePlaceOrderSuccessState state = XinHePlaceOrderSuccessState();
  Map orderMap = {};

  @override
  void onInit() {
    // TODO: implement onInit
    super.onInit();

    orderMap = Get.arguments;

  }

  toOrderDetail() {
    Get.toNamed(XinHeRoutes.orderDetail, arguments: orderMap);
  }
}
